﻿@using OA.Model;
@using OA.AspNetCore.Html;

@model OA.Model.DB.TableInfo
<div class="layui-form layui-tab-content" style="padding:20px 40px 20px 0;">
    @using (Html.BeginForm(FormMethod.Post, htmlAttributes: new { @class = "layui-form", id = "myForm" }))
    {
        @Html.AntiForgeryToken()

        <div class="layui-form-item">
            @Html.LabelFor(model => model.Name, new { @class = "layui-form-label" })
            <div class="layui-input-block">
                @Html.HiddenFor(model => model.ID)
                @Html.MyEditorFor(model => model.Name)
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <input type="submit" value="提 交" lay-submit="" lay-filter="OAForm" class="layui-btn mySubmit" />
            </div>
        </div>
    }
</div>
